package com.citcc4.traffic.data.domain.snap;

import java.io.Serializable;
import java.util.Date;

public class SnapshotEntity implements Serializable {
    /**
     * 随手拍主键id
     */
    private String snapshotId;

    /**
     * 云镜主键
     */
    private String mirrorId;

    /**
     * 车牌号
     */
    private String carNum;

    /**
     * 图片名称
     */
    private String snapshotName;

    /**
     * 图片路径
     */
    private String snapshotUrl;

    /**
     * 拍摄时间
     */
    private Long snapshotTime;

    /**
     * 随手拍图片状态
     */
    private Integer snapshotState;

    /**
     * 图片mimetype
     */
    private String mimetype;

    /**
     * md5值
     */
    private String snapshotMd5;

    /**
     * 上传时间
     */
    private Date uploadTime;

    /**
     * 随手拍工单id
     */
    private String snaporderId;

    /**
     * 图片坐标
     */
    private String snapshotGps;

    private static final long serialVersionUID = 1L;

    public String getSnapshotId() {
        return snapshotId;
    }

    public void setSnapshotId(String snapshotId) {
        this.snapshotId = snapshotId == null ? null : snapshotId.trim();
    }

    public String getMirrorId() {
        return mirrorId;
    }

    public void setMirrorId(String mirrorId) {
        this.mirrorId = mirrorId == null ? null : mirrorId.trim();
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum == null ? null : carNum.trim();
    }

    public String getSnapshotName() {
        return snapshotName;
    }

    public void setSnapshotName(String snapshotName) {
        this.snapshotName = snapshotName == null ? null : snapshotName.trim();
    }

    public String getSnapshotUrl() {
        return snapshotUrl;
    }

    public void setSnapshotUrl(String snapshotUrl) {
        this.snapshotUrl = snapshotUrl == null ? null : snapshotUrl.trim();
    }

    public Long getSnapshotTime() {
        return snapshotTime;
    }

    public void setSnapshotTime(Long snapshotTime) {
        this.snapshotTime = snapshotTime;
    }

    public Integer getSnapshotState() {
        return snapshotState;
    }

    public void setSnapshotState(Integer snapshotState) {
        this.snapshotState = snapshotState;
    }

    public String getMimetype() {
        return mimetype;
    }

    public void setMimetype(String mimetype) {
        this.mimetype = mimetype == null ? null : mimetype.trim();
    }

    public String getSnapshotMd5() {
        return snapshotMd5;
    }

    public void setSnapshotMd5(String snapshotMd5) {
        this.snapshotMd5 = snapshotMd5 == null ? null : snapshotMd5.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getSnaporderId() {
        return snaporderId;
    }

    public void setSnaporderId(String snaporderId) {
        this.snaporderId = snaporderId == null ? null : snaporderId.trim();
    }

    public String getSnapshotGps() {
        return snapshotGps;
    }

    public void setSnapshotGps(String snapshotGps) {
        this.snapshotGps = snapshotGps == null ? null : snapshotGps.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", snapshotId=").append(snapshotId);
        sb.append(", mirrorId=").append(mirrorId);
        sb.append(", carNum=").append(carNum);
        sb.append(", snapshotName=").append(snapshotName);
        sb.append(", snapshotUrl=").append(snapshotUrl);
        sb.append(", snapshotTime=").append(snapshotTime);
        sb.append(", snapshotState=").append(snapshotState);
        sb.append(", mimetype=").append(mimetype);
        sb.append(", snapshotMd5=").append(snapshotMd5);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", snaporderId=").append(snaporderId);
        sb.append(", snapshotGps=").append(snapshotGps);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}